package com.huilian.netty.handler;

import com.huilian.netty.model.CIMSession;
import com.huilian.netty.model.SocketMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * DefaultHandler
 * 默认消息处理器
 *
 * @Author mineChen
 * @Date 2021/11/26 下午 06:19
 */
@Component
public class DefaultHandler implements CIMRequestHandler {
    private static final Logger LOGGER = LoggerFactory.getLogger(DefaultHandler.class);

    @Override
    public void process(CIMSession session, SocketMessage message) {
        LOGGER.info("DefaultHandler: {}", message);
    }

}
